module.exports = function (app) {
    const { router,middleware } = app;
   
    const prefix = "/api/topic-lesson-question-bank";
    const controller = app.controller.topicLessonQuestionBank;
    
    router.get(prefix + "/list", controller.list);
    router.get(prefix + "/examList", controller.examList);
    router.post(prefix + "/createByCsv",  middleware.auth(), controller.createByCsv);  
    router.post(prefix + "/create",  middleware.auth(),  controller.create);
    router.post(prefix + "/update",  middleware.auth(), controller.update);
    router.post(prefix + "/delete",  middleware.auth(),  controller.delete);  



  };